package com.mars.dao;

import com.mars.pojo.Teacher;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface TeacherMapper {

    @Select("select * from teacher where id = #{tid}")
    Teacher getTeacherT(@Param("tid")int id);

    Teacher getTeacher(int id);
}
